#ifndef __SLIST_H__
#define __SLIST_H__

struct list_head {
 struct list_head *next;
 struct list_head *prev;
};
typedef struct list_head list_t;

void initList(list_t *list);
int list_isEmpty(list_t *head);
void list_add(list_t *new_lst, list_t *head);
void list_add_tail(list_t *new_lst, list_t *head);
void list_del(list_t * entry);


#endif